﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FangDuShi_Admin.Model
{
    /// <summary>
  
    /// </summary>
   	[Serializable]
	public partial class PrvUser
	{
		public PrvUser()
		{
			FLoginCnt=0M;
			FProhibitLogin="N";
			FForeverAvailable="Y";
		}
		#region Model
		/// <summary>
		/// 用户编号
		/// </summary>
		public string FLogID
		{
			set;
			get;
		}
		/// <summary>
		/// 用户名称
		/// </summary>
		public string FUserName
		{
			set;
			get;
		}
		/// <summary>
		/// 密码
//算法：md5(Flogid + 用户输入的密码)
		/// </summary>
		public string Fpassword
		{
			set;
			get;
		}
		/// <summary>
		/// 最近登录时间
		/// </summary>
		public DateTime? FLastLoginTime
		{
			set;
			get;
		}
		/// <summary>
		/// 最近登录IP
		/// </summary>
		public string FLastLoginIPAddr
		{
			set;
			get;
		}
		/// <summary>
		/// 登录次数
		/// </summary>
		public decimal FLoginCnt
		{
			set;
			get;
		}
		/// <summary>
		/// 是否禁止登录
//1 禁止登录
//0 允许登录
		/// </summary>
		public string FProhibitLogin
		{
			set;
			get;
		}
		/// <summary>
		/// 帐号是否永久有效
//1 永久有效，有效日期必须是NULL
//0 不是永久有效  ，必须填写有效日期

		/// </summary>
		public string FForeverAvailable
		{
			set;
			get;
		}
		/// <summary>
		/// 有效日期
		/// </summary>
		public DateTime? FAvailableDate
		{
			set;
			get;
		}
		#endregion Model

	}
}

